<script setup>
import { ElMessage } from 'element-plus'

const handleAdd = () => {
  ElMessage.info('功能开发中...')
}
</script>

<template>
  <div class="page-container">
    <div class="page-header">
      <h2>文章管理</h2>
      <el-button type="primary" @click="handleAdd">新增文章</el-button>
    </div>
    
    <div class="page-content">
      <el-empty description="功能开发中" />
    </div>
  </div>
</template>

<style scoped>
.page-container {
  padding: 24px;
}

.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.page-header h2 {
  margin: 0;
  color: #333;
}

.page-content {
  background: white;
  border-radius: 8px;
  padding: 40px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
</style>